CVE-2025-6514
OS command injection in mcp-remote when connecting to untrusted MCP servers
Description
mcp-remote is exposed to OS command injection when connecting to untrusted MCP servers due to crafted input from the authorization_endpoint response URL
INFO
Published Date :
July 9, 2025, 1:15 p.m.
Last Modified :
July 10, 2025, 1:17 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2025-6514
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Sanitize all inputs from authorization_endpoint.
- Validate the URL for the authorization endpoint.
- Update the mcp-remote library to the latest version.
Public PoC/Exploit Available at Github
CVE-2025-6514 has a 47 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-6514.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-6514 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-6514
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Offensive MCP server auditor — detects tool poisoning, credential leaks, RCE vectors, SSRF, session hijacking, and supply chain vulnerabilities across stdio, HTTP, and SSE transports.
ai-security llm-security mcp model-context-protocol offensive-security security supply-chain tool-poisoning vulnerability-scanner mcp-security open-source mcpscan
TypeScript JavaScript
Open detection standard for AI agent threats. Like Sigma, but for prompt injection, tool poisoning, and MCP attacks. Community-driven -- contributions welcome.
TypeScript JavaScript
ESLint security rules for MCP servers — catches SANDWORM_MODE credential harvesting, path traversal, command injection, and CVE patterns at dev time
TypeScript JavaScript
29 detection rules for AI agent threats across 9 attack categories. Like Sigma, but for prompt injection, tool poisoning, MCP attacks, and skill compromise. RFC status.
agent-security ai-security llm-security mcp-security open-source prompt-injection sigma-rules threat-detection
TypeScript
Agent Interaction Firewall for AI tool calls. Runtime security for MCP and function-calling with <5ms P99, 20+ threat detection layers, formal verification.
ai-agents audit compliance mcp owasp policy-engine rust security agentic-ai ai-security firewall formal-verification mcp-security model-context-protocol tool-calling llm
Dockerfile Makefile JavaScript HTML CSS TypeScript Alloy Rust Lean TLA
Zero-dependency MCP security linter — 54 OWASP-mapped checks, 56 malicious packages, 28 CVEs. pip install mcp-config-guard
ai-safety claude-code linter mcp model-context-protocol owasp python sarif security vulnerability-scanner
Python
Security scanner and runtime protection for MCP (Model Context Protocol) servers
Python
Security scanner and runtime protection for MCP (Model Context Protocol) servers
Python
None
Python HTML
Org-wide policy enforcement hooks for Claude Code
Shell
OpenClaw Security Red Team Framework
Dockerfile JavaScript HTML Shell Python C
None
TypeScript CSS JavaScript Shell Python
MCP security proxy that sits between AI coding assistants and MCP servers, detecting and blocking all known MCP attack classes. Works with any MCP server (tools, resources, prompts) on macOS, Linux, and Windows.
claude linux macos mcp proxy windows mcp-watchdog
Python
Enterprise-grade MCP Server Security Toolkit
Python
None
TypeScript JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-6514 vulnerability anywhere in the article.
-
CybersecurityNews
MEDUSA Security Testing Tool With 74 Scanners and 180+ AI Agent Security Rules
MEDUSA, an AI-first Static Application Security Testing (SAST) tool boasting 74 specialized scanners and over 180 AI agent security rules. This open-source CLI scanner targets modern development chall ... Read more
-
The Hacker News
[Webinar] Securing Agentic AI: From MCPs and Tool Access to Shadow API Key Sprawl
Jan 13, 2026The Hacker NewsArtificial Intelligence / Automation Security AI agents are no longer just writing code. They are executing it. Tools like Copilot, Claude Code, and Codex can now build, t ... Read more
-
CybersecurityNews
Cloudflare Launches MCP Server Portals – A Unified Gateway to All MCP Servers
Cloudflare today launched MCP Server Portals in open beta, a groundbreaking capability designed to centralize, secure, and observe all Model Context Protocol (MCP) connections in an organization. By r ... Read more
-
The Cloudflare Blog
Securing the AI Revolution: Introducing Cloudflare MCP Server Portals
Securing the AI Revolution: Introducing Cloudflare MCP Server Portals2025-08-266 min read Securing the AI Revolution: Introducing Cloudflare MCP Server Portals Large Language Models (LLMs) are rapidly ... Read more
-
The Hacker News
Critical mcp-remote Vulnerability Enables Remote Code Execution, Impacting 437,000+ Downloads
Cybersecurity researchers have discovered a critical vulnerability in the open-source mcp-remote project that could result in the execution of arbitrary operating system (OS) commands. The vulnerabili ... Read more
-
CybersecurityNews
Critical mcp-remote Vulnerability Exposes LLM Clients to Remote Code Execution Attacks
A critical vulnerability CVE-2025-6514 with a CVSS score of 9.6 affecting the mcp-remote project allows attackers to achieve arbitrary operating system command execution on machines running mcp-remote ... Read more
The following table lists the changes that have been made to the
CVE-2025-6514 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Jul. 09, 2025
Action Type Old Value New Value Added Description mcp-remote is exposed to OS command injection when connecting to untrusted MCP servers due to crafted input from the authorization_endpoint response URL Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H Added CWE CWE-78 Added Reference https://github.com/geelen/mcp-remote/commit/607b226a356cb61a239ffaba2fb3db1c9dea4bac Added Reference https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability Added Reference https://research.jfrog.com/vulnerabilities/mcp-remote-command-injection-rce-jfsa-2025-001290844/